package com.xgs.system.domain;

import com.xgs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 系统错误日志表 sys_error_log
 * 
 * @author Byron.Liu
 * @date 2019-12-23
 */
public class SysErrorLog extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private String id;

	/** 错误类型 */
	private String errorType;

	/** 错误信息 */
	private String errorMessage;

	/** 状态位 */
	private String status;

	/** 删除标记 */
	private String delFlag;

	/** 服务器IP */
	private String serverIp;

	/** 服务ID */
	private String serviceId;

	/** 服务名称 */
	private String serviceName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getErrorType() {
		return errorType;
	}

	public void setErrorType(String errorType) {
		this.errorType = errorType;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getServerIp() {
		return serverIp;
	}

	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}

	public String getServiceId() {
		return serviceId;
	}

	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("errorType", getErrorType())
            .append("errorMessage", getErrorMessage())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("serverIp", getServerIp())
            .append("serviceId", getServiceId())
            .append("serviceName", getServiceName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
